﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using VTNT.Framework.Web.Global;
namespace VTNT.Presentation.Web.MaxSport.Master.Page
{
    public partial class VMain : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            CAppEnvironment app = new CAppEnvironment();
            app.RegisterPortalConfig(this.Page);
        }

        public string MyResolveUrl(string url)
        {
            string ret = "";
            ret=ResolveUrl(url);
            if (ret.StartsWith("/mods") || ret.StartsWith("/asset"))
                ret = "/tienminh" + ret;
            return ret;
        }
    }
}